Migrate user-attachments images to local repository with relative paths#64
Conversation
…exercise to v0.8.0 Co-authored-by: FidelusAleksander <63016446+FidelusAleksander@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Migrates GitHub user-attachments image references in exercise step content to locally committed images under .github/images/, enabling stable rendering via relative paths supported by the updated start-exercise workflow.
Changes:
- Bumped
skills/exercise-toolkitstart-exercisereusable workflow fromv0.7.3tov0.8.0. - Updated step markdown files to reference images via
../images/...relative paths. - Added the migrated images to
.github/images/with descriptive filenames.
Reviewed changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/0-start-exercise.yml | Updates start-exercise workflow ref to a version that supports relative links. |
| .github/steps/1-step.md | Replaces user-attachments image URL with a local relative path. |
| .github/steps/6-step.md | Replaces user-attachments image URL with a local relative path. |
| .github/images/dadjoke-mona.png | Adds locally hosted image for step 1 content. |
| .github/images/joke-action-workflow-run.png | Adds locally hosted screenshot for step 6 content. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
@copilot Two tasks for you
Important: Only update the start-exercise version reference. Do not modify any other references to exercise-toolkit elsewhere in the repository.
This will ensure the current repository is checked out with the commit that was pushed by the previous start-exercise reusable workflow |
Co-authored-by: FidelusAleksander <63016446+FidelusAleksander@users.noreply.github.com>
Migrates GitHub-hosted user-attachments images to local
.github/images/directory with descriptive filenames and relative references. Updatesstart-exerciseworkflow to v0.8.1 for relative link support.Changes
Images migrated: 2 user-attachments images downloaded to
.github/images/dadjoke-mona.png(2.4M) - Dad joke mascot from step 1joke-action-workflow-run.png(16K) - Workflow run screenshot from step 6Markdown updates: Updated
.github/steps/{1,6}-step.mdto use relative paths (../images/) with descriptive alt text for accessibilityWorkflow version: Bumped
start-exercisereusable workflow from v0.7.3 → v0.8.1 in0-start-exercise.ymlWorkflow configuration: Added explicit
ref: mainto Checkout step inpost_next_step_contentjob to ensure latest commits from start-exercise workflow are usedExternal images (octodex, shields.io) remain as absolute URLs per requirement.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.